
import { Injectable } from '@angular/core';
import { ViewModel, NgCommand } from '@farris/devkit';
import { Observable } from 'rxjs';

@Injectable()
export class Newobject1C6qpComponentViewmodel extends ViewModel {
    public bindingPath = '/newObject1s';
    // farrisDataGrid列集合定义 在对应component中赋值
    public newobject1_c6qp_dataGridColumns:any;
    // datGrid 列集合名称 用以bindData使用
    public dataGridColumnsName:string;

    public dom = {
  "newobject1-c6qp-dataGrid": {
    "type": "DataGrid",
    "resourceId": "newobject1-c6qp-dataGrid",
    "visible": {
      "useQuote": false,
      "isExpression": false,
      "value": true
    },
    "id": "newobject1-c6qp-dataGrid",
    "readonly": {
      "useQuote": false,
      "isExpression": false,
      "value": false
    },
    "fields": [
      {
        "type": "GridField",
        "resourceId": "code_dd1a198a_reer",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "code_dd1a198a_reer",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "code",
          "fullPath": "code",
          "isExpression": false,
          "value": "code"
        },
        "dataField": "code",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "行程编号",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "code_dd1a198a_oncf",
          "defaultI18nValue": "行程编号",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "code_dd1a198a_oncf",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "code",
            "fullPath": "code",
            "isExpression": false,
            "value": "code"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "note_2150900e_1h8o",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "note_2150900e_1h8o",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "note",
          "fullPath": "note",
          "isExpression": false,
          "value": "note"
        },
        "dataField": "note",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "行程相关备注",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "note_2150900e_yxqs",
          "defaultI18nValue": "行程相关备注",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "note_2150900e_yxqs",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "note",
            "fullPath": "note",
            "isExpression": false,
            "value": "note"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "creator_b7a0267a_c6hp",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "creator_b7a0267a_c6hp",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "creator",
          "fullPath": "creator",
          "isExpression": false,
          "value": "creator"
        },
        "dataField": "creator",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "创建人",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "creator_b7a0267a_3fb1",
          "defaultI18nValue": "创建人",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "creator_b7a0267a_3fb1",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "creator",
            "fullPath": "creator",
            "isExpression": false,
            "value": "creator"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "createdDate_cd78225f_mo1x",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "createdDate_cd78225f_mo1x",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "createdDate",
          "fullPath": "createdDate",
          "isExpression": false,
          "value": "createdDate"
        },
        "dataField": "createdDate",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "创建时间",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "createdDate_cd78225f_scw6",
          "defaultI18nValue": "创建时间",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "createdDate_cd78225f_scw6",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "createdDate",
            "fullPath": "createdDate",
            "isExpression": false,
            "value": "createdDate"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "kssj_35b64be0_eq84",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "kssj_35b64be0_eq84",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "kssj",
          "fullPath": "kssj",
          "isExpression": false,
          "value": "kssj"
        },
        "dataField": "kssj",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "开始时间",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "kssj_35b64be0_rx9n",
          "defaultI18nValue": "开始时间",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "kssj_35b64be0_rx9n",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "kssj",
            "fullPath": "kssj",
            "isExpression": false,
            "value": "kssj"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "endingdate_99557baa_718g",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "endingdate_99557baa_718g",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "endingdate",
          "fullPath": "endingdate",
          "isExpression": false,
          "value": "endingdate"
        },
        "dataField": "endingdate",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "结束时间",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "endingdate_99557baa_no9e",
          "defaultI18nValue": "结束时间",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "endingdate_99557baa_no9e",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "endingdate",
            "fullPath": "endingdate",
            "isExpression": false,
            "value": "endingdate"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "cxfs_05f75f11_je1i",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "cxfs_05f75f11_je1i",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "cxfs",
          "fullPath": "cxfs",
          "isExpression": false,
          "value": "cxfs"
        },
        "dataField": "cxfs",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "出行方式",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "cxfs_05f75f11_sxpn",
          "defaultI18nValue": "出行方式",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "cxfs_05f75f11_sxpn",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "cxfs",
            "fullPath": "cxfs",
            "isExpression": false,
            "value": "cxfs"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "cxje_c211f483_m1ua",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "cxje_c211f483_m1ua",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "cxje",
          "fullPath": "cxje",
          "isExpression": false,
          "value": "cxje"
        },
        "dataField": "cxje",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "出行金额",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "cxje_c211f483_uflo",
          "defaultI18nValue": "出行金额",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "cxje_c211f483_uflo",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "cxje",
            "fullPath": "cxje",
            "isExpression": false,
            "value": "cxje"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "sfybt_3a7d501f_0tuy",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "sfybt_3a7d501f_0tuy",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "sfybt",
          "fullPath": "sfybt",
          "isExpression": false,
          "value": "sfybt"
        },
        "dataField": "sfybt",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "是否有补贴",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "sfybt_3a7d501f_1ko4",
          "defaultI18nValue": "是否有补贴",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "sfybt_3a7d501f_1ko4",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "sfybt",
            "fullPath": "sfybt",
            "isExpression": false,
            "value": "sfybt"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "btbz_c90d1fb5_63d2",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "btbz_c90d1fb5_63d2",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "btbz",
          "fullPath": "btbz",
          "isExpression": false,
          "value": "btbz"
        },
        "dataField": "btbz",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "补贴标准",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "btbz_c90d1fb5_kzpp",
          "defaultI18nValue": "补贴标准",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "btbz_c90d1fb5_kzpp",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "btbz",
            "fullPath": "btbz",
            "isExpression": false,
            "value": "btbz"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      }
    ],
    "multiSelect": false,
    "showLineNumber": false,
    "lineNumberTitle": "#",
    "groupTotalText": "Total",
    "filterable": false,
    "groupable": false,
    "rowClass": ""
  }
};
    @NgCommand({
        name: 'newobject1c6qpcomponentviewmodelAddItem1',
        params: {
        }
    })
    public newobject1c6qpcomponentviewmodelAddItem1(commandParam?: any): Observable<any> { return; }

    @NgCommand({
        name: 'newobject1c6qpcomponentviewmodelRemoveItem1',
        params: {
            id: '{DATA~/#{newobject1-c6qp-component}/newObject1s/id}'
        },
        paramDescriptions: {
            id: { type: 'string' }
        }
    })
    public newobject1c6qpcomponentviewmodelRemoveItem1(commandParam?: any): Observable<any> { return; }

}